package Day1.examples;

public class HelloWorld {

	
		public void sayHello(){
			System.out.println("Hello World");
		}
		
		public String sayGoodmorning(String name){
			return "Good Morning "+name;
		}
		
		public String sayGoodevening(String firstname, String lastname){
			return "Good evening "+ firstname + lastname;
		}
		public static void main(String[] args) {
			HelloWorld world=new HelloWorld();
			world.sayHello();
			
			HelloWorld world2=new HelloWorld();
			world2.sayHello();
			System.out.println(world.sayGoodmorning("gman"));
			System.out.println(world.sayGoodevening("gman","Dewan"));
			
	}

}
